$(function(){
	aGlobalBannerHeight.m2440906=parseInt(180);
	setBannerModuleHeight2440906();
	$(window).resize(function(){setBannerModuleHeight2440906()})
});
$(function(){
	var span="",
	bn=$("#move_module_2440906 .bannerNav"),
	banner=$("#move_module_2440906 .movePicShow");
	bn.addClass("banner-nav-1");                       
	banner.find("li").each(function(e){ span += "<span></span>";});
    bn.html(span);
    var changeBannerBg=function(num){bn.find("span").removeClass("cur").eq(num).addClass("cur")};
    changeBannerBg(0);
    new $.Swipe(banner[0],{startSlide:0,direction:"LMove",speed:400,auto:2000,callback:function(){changeBannerBg(this.index)}})
    });
$(function(){
    newMenu();
    $(window).size(function(){
        newMenu();
    })
});
$(function(){ButGroupLeftPosition();});
$(function(){if($(".main").length){$(".main").css("min-height",$(window).height()); }})


var windowW = $(window).width(),windowH = $(window).height();
$(window).resize(function(){setTimeout(function(){ ButGroupLeftPosition(); },500); })

function setBannerModuleHeight2440906(){
	var Banner=$("#move_module_2440906"),
		oBanner=$("#move_module_2440906 .movePicShow"),
		iPicMaxWidth=parseInt("768"),
		iWindowWidth=Banner.parent().width();
	if(iWindowWidth>iPicMaxWidth){
		var iRealityHeight=aGlobalBannerHeight.m2440906*2;
		var iRealityWidth=iPicMaxWidth
	}else if(iWindowWidth>0){
		iBfbWidth=(iWindowWidth/iPicMaxWidth).toFixed(2);
		var iRealityHeight=parseInt(aGlobalBannerHeight.m2440906*iBfbWidth)*2;
		var iRealityWidth=iWindowWidth
	}
	oBanner.height(iRealityHeight);
	oBanner.find("li").height(iRealityHeight);
	Banner.width(iRealityWidth);Banner.find("li").width(iRealityWidth)
}
